fix: 按 linyaps 运行路径检查本地数据#10
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
变更内容
ll-cli --json list、仓库配置、运行中应用、数据目录权限和磁盘状态。OSTree改为本地数据,问题列表区分“玲珑本地数据不可用”和“玲珑本地数据检测失败”。0、起始的问题,避免 PR CI release smoke 失败。docs/21-linglong-environment-management.md和AGENTS.md,记录默认健康模型和后续实现约束。背景
基于 linyaps 源码和 uuu Loong64 环境排查,完整性审计可能在
bare-user-only本地存储模式下报 checksum 差异,但ll-cli --json repo show、ll-cli --json list、ll-cli --json ps仍可正常执行。默认环境分析应跟随 linyaps 自身运行逻辑,而不是把底层审计结果直接暴露为基础环境异常。本 PR 第一次 CI 中
Run release CLI smoke test失败,定位为awk对items[++item_count] = item_count ...左右侧求值顺序不一致,CI 的 awk 会生成0、起始编号;已改为先递增再赋值。验证
/home/hao/Flutter/flutter-stable/bin/flutter test test/unit/data/repositories/linglong_cli_repository_impl_command_test.dart test/unit/application/services/linglong_environment_management_service_test.dart test/unit/application/providers/linglong_environment_management_provider_test.dart test/widget/presentation/widgets/linglong_environment_management_dialog_test.dart test/widget/presentation/pages/setting_page_test.dart/home/hao/Flutter/flutter-stable/bin/flutter analyzeFLUTTER_ROOT=/home/hao/Flutter/flutter-stable bash build/scripts/release-cli-smoke-test.shFLUTTER_ROOT=/home/hao/Flutter/flutter-stable bash build/scripts/nightly-cli-smoke-test.shbash build/scripts/validate-release-workflow.sh